\hypertarget{xscale__p_8h_source}{}\doxysection{xscale\+\_\+p.\+h}
\mbox{\hyperlink{xscale__p_8h}{浏览该文件的文档.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{1 \textcolor{preprocessor}{\#ifndef XScale\_P\_H}}
\DoxyCodeLine{2 \textcolor{preprocessor}{\#define XScale\_P\_H}}
\DoxyCodeLine{3 }
\DoxyCodeLine{4 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{xscale_8h}{xscale.h}}"{}}}
\DoxyCodeLine{5 }
\DoxyCodeLine{6 QT\_BEGIN\_NAMESPACE}
\DoxyCodeLine{7 }
\DoxyCodeLine{8 \textcolor{keyword}{class }\mbox{\hyperlink{class_x_scale_private}{XScalePrivate}}}
\DoxyCodeLine{9 \{}
\DoxyCodeLine{10 \textcolor{keyword}{public}:}
\DoxyCodeLine{11     \mbox{\hyperlink{class_x_scale_private_a09b1931169020869ba3051354e7884a0}{XScalePrivate}}();}
\DoxyCodeLine{12     \mbox{\hyperlink{class_x_scale_private_a4a6b5fd8b4e2f449cf0e7ca4eb2d1640}{\string~XScalePrivate}}();}
\DoxyCodeLine{13 }
\DoxyCodeLine{14     \textcolor{comment}{/* Apperance Property */}}
\DoxyCodeLine{15     \textcolor{keywordtype}{int} \mbox{\hyperlink{class_x_scale_private_a92d976ee0e9073c2a20c4fffc8d998dd}{mainScaleNumber}};                               \textcolor{comment}{// 主刻度数}}
\DoxyCodeLine{16     \textcolor{keywordtype}{int} \mbox{\hyperlink{class_x_scale_private_a574682eee581f13446557dd90b1d1a6f}{subScaleNumber}};                                \textcolor{comment}{// 副刻度数}}
\DoxyCodeLine{17 }
\DoxyCodeLine{18     \textcolor{keywordtype}{double} \mbox{\hyperlink{class_x_scale_private_a408679dce0dc188595a2e396e043ef37}{maximumRange}};                               \textcolor{comment}{// 量程最大值}}
\DoxyCodeLine{19     \textcolor{keywordtype}{double} \mbox{\hyperlink{class_x_scale_private_a7ce8b4c0cf31fbacbc3ccfec0d455984}{minimumRange}};                               \textcolor{comment}{// 量程最小值}}
\DoxyCodeLine{20 }
\DoxyCodeLine{21     \textcolor{keywordtype}{int} \mbox{\hyperlink{class_x_scale_private_ab6c786eaabc151ca4b418e61329bdb8b}{precision}};                                     \textcolor{comment}{// 精确度,小数点后几位}}
\DoxyCodeLine{22     \textcolor{keywordtype}{bool} \mbox{\hyperlink{class_x_scale_private_acad1c27268550760d719042c6400e52f}{unitStringEnable}};                             \textcolor{comment}{// 是否显示单位（默认：true，即显示）}}
\DoxyCodeLine{23     QString \mbox{\hyperlink{class_x_scale_private_afd77fdd7e010bf3d491ea14aff7e670f}{unitString}};                                \textcolor{comment}{// 刻度值单位字符串}}
\DoxyCodeLine{24     QColor \mbox{\hyperlink{class_x_scale_private_a57588b38772c7cb47ecd9985833c259a}{unitStringColor}};                            \textcolor{comment}{// 刻度值单位颜色}}
\DoxyCodeLine{25 }
\DoxyCodeLine{26     QColor \mbox{\hyperlink{class_x_scale_private_ad1968533ed7d0f4831ec6309e2ce7162}{mainScaleColor}};                             \textcolor{comment}{// 主刻度颜色}}
\DoxyCodeLine{27     QColor \mbox{\hyperlink{class_x_scale_private_acb851b208b23b064e5f5e18282dde71d}{baseScaleColor}};                             \textcolor{comment}{// 刻度尺基础色}}
\DoxyCodeLine{28     QColor \mbox{\hyperlink{class_x_scale_private_a3ae9d5bb6a251bd144b87fa6c8cf2da6}{scaleValueColor}};                            \textcolor{comment}{// 刻度值颜色}}
\DoxyCodeLine{29 }
\DoxyCodeLine{30     \mbox{\hyperlink{class_x_type_a1615daca60c656f9bb7e6ab04ecef289}{XType::ScaleChartDirection}} \mbox{\hyperlink{class_x_scale_private_a2a7b40ad49ff6c16ee1b8bdee3e97d67}{scaleDirection}};         \textcolor{comment}{// 刻度尺方向}}
\DoxyCodeLine{31     \textcolor{keywordtype}{bool} \mbox{\hyperlink{class_x_scale_private_af64939551175a69d40320661fef30cf9}{scaleValueReverseOrder}};                       \textcolor{comment}{// 刻度逆序选择（默认：false，即正序）}}
\DoxyCodeLine{32 }
\DoxyCodeLine{33     QColor \mbox{\hyperlink{class_x_scale_private_a215aed5204cfc7a5392ec9f980aab8ad}{backgroundColor}};                            \textcolor{comment}{// 刻度尺背景颜色}}
\DoxyCodeLine{34     QColor \mbox{\hyperlink{class_x_scale_private_ab67f2a71ad1331af929c82c3a7adc6ec}{borderColor}};                                \textcolor{comment}{// 刻度尺边框颜色}}
\DoxyCodeLine{35 }
\DoxyCodeLine{36     \textcolor{comment}{/* Display Parameters */}}
\DoxyCodeLine{37     \textcolor{keywordtype}{int} \mbox{\hyperlink{class_x_scale_private_a7ddca27a1820c3e565df9a4f9e971295}{borderRadius}};                                  \textcolor{comment}{// 刻度尺边框圆角}}
\DoxyCodeLine{38     \textcolor{keywordtype}{int} \mbox{\hyperlink{class_x_scale_private_a073f12feb17eb0e576be16e41d8574d3}{borderWidth}};                                   \textcolor{comment}{// 刻度尺边框宽度}}
\DoxyCodeLine{39     \textcolor{keywordtype}{double} \mbox{\hyperlink{class_x_scale_private_acf1f882b3fa5f93040e39e3ec893e9db}{margin}};                                     \textcolor{comment}{// 边缘宽度}}
\DoxyCodeLine{40     \textcolor{keywordtype}{double} \mbox{\hyperlink{class_x_scale_private_a5c5658af0225d6c3989d3dd2303a950e}{baseLineLength}};                             \textcolor{comment}{// 基线长度}}
\DoxyCodeLine{41     \textcolor{keywordtype}{double} \mbox{\hyperlink{class_x_scale_private_a3a8cec515794a561868206c245ee0db8}{mainScaleLineLength}};                        \textcolor{comment}{// 主刻度线长度}}
\DoxyCodeLine{42     \textcolor{keywordtype}{double} \mbox{\hyperlink{class_x_scale_private_a69b60331de7a539b8fd04201e23aa72b}{subScaleLineLength}};                         \textcolor{comment}{// 副刻度线长度}}
\DoxyCodeLine{43     \textcolor{keywordtype}{int} \mbox{\hyperlink{class_x_scale_private_ad168a67a547a11095333edc4a924e99b}{totalScaleNumber}};                              \textcolor{comment}{// 总刻度数}}
\DoxyCodeLine{44     \textcolor{keywordtype}{double}  \mbox{\hyperlink{class_x_scale_private_a1722f0026fd1c449d5e45a53156eae66}{divisionValue}};                             \textcolor{comment}{// 分度值}}
\DoxyCodeLine{45     \textcolor{keywordtype}{double} \mbox{\hyperlink{class_x_scale_private_abe8a47ea149f8977c4e37140719cadaf}{scaleValueWidth}};                            \textcolor{comment}{// 刻度值宽度}}
\DoxyCodeLine{46     \textcolor{keywordtype}{double} \mbox{\hyperlink{class_x_scale_private_a2f7995da9e471d94196d57f9e6133537}{scaleValueHeight}};                           \textcolor{comment}{// 刻度值高度}}
\DoxyCodeLine{47 }
\DoxyCodeLine{48     \textcolor{keywordtype}{double} \mbox{\hyperlink{class_x_scale_private_af5394d768a592d9966d5f1ac4bf6ddc3}{unitStringWidth}};                            \textcolor{comment}{// 刻度值单位宽度}}
\DoxyCodeLine{49     \textcolor{keywordtype}{double} \mbox{\hyperlink{class_x_scale_private_acdc1912f03d676b6335f327525dddebc}{unitStringHeight}};                           \textcolor{comment}{// 刻度值单位长度}}
\DoxyCodeLine{50     QPointF \mbox{\hyperlink{class_x_scale_private_abd36fdecb4d5f6212ad338f3c486b510}{unitStringPoint}};                           \textcolor{comment}{// 刻度值单位起始点}}
\DoxyCodeLine{51 }
\DoxyCodeLine{52     QPointF \mbox{\hyperlink{class_x_scale_private_a06bfa083661ce276fd19cf7311c0f21a}{baseLineStartPoint}};                        \textcolor{comment}{// 基线起始点}}
\DoxyCodeLine{53     QPointF \mbox{\hyperlink{class_x_scale_private_aedca29c645de9177c74e8711c56f44e2}{baseLineEndPoint}};                          \textcolor{comment}{// 基线终止点}}
\DoxyCodeLine{54 }
\DoxyCodeLine{55     \textcolor{comment}{/* Mouse Parameters */}}
\DoxyCodeLine{56     \textcolor{keywordtype}{bool} \mbox{\hyperlink{class_x_scale_private_a507f9c0db66fe0834f4d6b723dd8ce06}{LeftmousePressed}};                             \textcolor{comment}{// 鼠标左键点击标识}}
\DoxyCodeLine{57     QPointF \mbox{\hyperlink{class_x_scale_private_abae4970a6328d044b2d072cb264986b9}{mousePressPoint}};                           \textcolor{comment}{// 鼠标点击点}}
\DoxyCodeLine{58 \};}
\DoxyCodeLine{59 }
\DoxyCodeLine{60 QT\_END\_NAMESPACE}
\DoxyCodeLine{61 }
\DoxyCodeLine{62 \textcolor{preprocessor}{\#endif }\textcolor{comment}{// XScale\_P\_H}}

\end{DoxyCode}
